#include "httpServer.hpp"

static void Usage(string proc)
{
   cout << "Usage:\n\t";
  cout << proc << " port" << endl;

}

int main(int argc ,char *argv[])
{
  if(argc != 2){
   Usage(argv[0]);
   exit(1);
                        
  }

 httpServer *hp = new httpServer(atoi(argv[1]));
   hp->initServer();
   hp->start();

   return 0;

}
